package com.cgw.dmplt.rent.dao;

import java.util.List;
import com.cgw.dmplt.rent.domain.PayFlow;

/**
 *
 */
public interface PayFlowDao {
    /**
     * insert.
     * @param payFlow payFlow
     * @return id
     */
    String insertPayFlow(PayFlow payFlow);

    /**
     * delete.
     * @param payFlow payFlow
     */
    void deletePayFlow(PayFlow payFlow);
    
    /**
     * update.
     * @param payFlow payFlow
     */
    void updatePayFlow(PayFlow payFlow);

    /**
     * find.
     * @param id id
     * @return payFlow
     */
    PayFlow findPayFlow(Integer id);
    
    /**
     * list.
     * @param payFlow payFlow
     * @return payFlow list
     */
    List listPayFlow(PayFlow payFlow);
    
    /**
     * listCount.
     * @param payFlow payFlow
     * @return list count
     */
    Integer listPayFlowCount(PayFlow payFlow);
}
